package com.wuchao.util;

/**
 * @Author wuchao66
 * @Date 2022/7/11 12:00
 * @Version 1.0
 */
public class SingleTonLazy {
    private static SingleTonLazy singleTonLazy;
    private SingleTonLazy(){}
    public static synchronized SingleTonLazy getInstance(){
        /*if(singleTonLazy==null){
            singleTonLazy=new SingleTonLazy();
        }return singleTonLazy;*/
        return  singleTonLazy==null?new SingleTonLazy():singleTonLazy;
    }
}
